<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-02-03 00:33:05
 * @LastEditTime: 2023-10-05 14:49:49
 * @LastEditors: 孙开源 && sunkaiyuan@namenode.cn
 * @Description: BOM成品工艺
 */

namespace App\Models;

use App\Traits\AutoCodeTrait;
use App\Traits\MaterialTrait;

class OpenCardBoms extends BaseModel
    {
    public $timestamps = true;
    public $table = "sys_open_card_boms";
    protected $guarded = [];
    public function bom()
        {
        return $this->belongsTo(ProBom::class);
        }
    }
